<?php
class Users_model extends CI_Model
{
    private $_table = 'user';
    function __construct()
    {
        parent::__construct();
    }
    function add($data){
        return $this->db->insert($this->_table,$data);
    }
    function get_only($where){
        return $this->db->get_where($this->_table,$where)->row_array();
    }
}
?>